/**
 * 
 */
package de.idgard.android.addon.backend;

import de.idgard.android.addon.services.ContextAware;
import android.content.Context;

/**
 *
 * @author <a href="mailto:vesko.georgiev@uniscon.com">Vesko Georgiev</a>
 */
public class IDGServiceRegistry {

	protected IDGServiceRegistry() {
		
	}

	protected void setContext(Object service, Context ctx) {
		if (service instanceof ContextAware) {
			((ContextAware) service).setContext(ctx);
		}
	}
}
